/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package business;

/**
 * obsahuje data predpovedi na konkretni hodinu, vsechny data odpovidaji aktualni
 * hodine, pouze srazky odpovidaji intervalu, kde zacatek intervalu je predchozi
 * zaznam
 * @author stana
 */
public class YrHour
{

    private int hour;
    private double precipitation;

    private String windDirection;

    private double windSpeed;
    private double temperature;
    private double pressure;
    private double cloudiness;
    private double fog;
    private double humidity;

    /**
     * vrati srazky v milimetrech, vraci to srazky od predchozi hodiny do teto
     * aktualni hodiny
     * @return the precipitation
     */
    public double getPrecipitation()
    {
        return precipitation;
    }

    /**
     * @param precipitation the precipitation to set
     */
    public void setPrecipitation(double precipitation)
    {
        this.precipitation = precipitation;
    }

    /**
     * @return the windDirection
     */
    public String getWindDirection()
    {
        return windDirection;
    }

    /**
     * @param windDirection the windDirection to set
     */
    public void setWindDirection(String windDirection)
    {
        this.windDirection = windDirection;
    }

    /**
     * @return the windSpeed
     */
    public double getWindSpeed()
    {
        return windSpeed;
    }

    /**
     * @param windSpeed the windSpeed to set
     */
    public void setWindSpeed(double windSpeed)
    {
        this.windSpeed = windSpeed;
    }

    /**
     * @return the temperature
     */
    public double getTemperature()
    {
        return temperature;
    }

    /**
     * @param temperature the temperature to set
     */
    public void setTemperature(double temperature)
    {
        this.temperature = temperature;
    }

    /**
     * @return the pressure
     */
    public double getPressure()
    {
        return pressure;
    }

    /**
     * @param pressure the pressure to set
     */
    public void setPressure(double pressure)
    {
        this.pressure = pressure;
    }

    /**
     * @return the cloudiness
     */
    public double getCloudiness()
    {
        return cloudiness;
    }

    /**
     * @param cloudiness the cloudiness to set
     */
     public void setCloudiness(double cloudiness)
    {
        this.cloudiness = cloudiness;
    }

    /**
     * @return the fog
     */
    public double getFog()
    {
        return fog;
    }

    /**
     * @param fog the fog to set
     */
    public void setFog(double fog)
    {
        this.fog = fog;
    }

    /**
     * @return the humidity
     */
    public double getHumidity()
    {
        return humidity;
    }

    /**
     * @param humidity the humidity to set
     */
    public void setHumidity(double humidity)
    {
        this.humidity = humidity;
    }



    public YrHour(int hour)
    {
        this.hour = hour;
    }

    /**
     * @return the hour
     */
    public int getHour()
    {
        return hour;
    }

    /**
     * @param hour the hour to set
     */
    public void setHour(int hour)
    {
        this.hour = hour;
    }
}